export interface StorageName {
  name: string;
  version: number;
}

export const STORAGE_NAMES: Record<string, StorageName> = {
  TOKEN: {
    name: "X-COMAC-QAR-TOKEN",
    version: 1,
  },
  AUTH: {
    name: "X-COMAC-QAR-AUTH",
    version: 1,
  },
  WORKSPACE: {
    name: "X-COMAC-QAR-WORKSPACE",
    version: 1,
  },
  INDEXDB: {
    name: "X-COMAC-QAR-INDEXDB",
    version: 1,
  },
  RESTAPI: {
    name: "X-COMAC-QAR-RESTAPI",
    version: 1,
  },
  TASKAPI: {
    name: "X-COMAC-QAR-TASKAPI",
    version: 1,
  },
};
